package com.tyg.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 顾客表
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class IsVip implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * vipId
     */
    @TableId(value = "vipId", type = IdType.AUTO)
    private Integer vipId;

    /**
     * 是否为会员，0为非会员，1为会员
     */
    @TableField("isVip")
    private Integer isVip;

    /**
     * 余额
     */
    private Double money;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField("creatTime")
    private Date creatTime;

    /**
     * 角色
     */
    @TableField("roleId")
    private Integer roleId;

    @TableField("workId")
    private Integer workId;

    @TableField(exist = false)
    private String workName;

    @TableField(exist = false)
    private String workIdCard;

    @TableField(exist = false)
    private String workTel;

    @TableField(exist = false)
    private String roleName;


}
